<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
	<script>
		let person = {
			name: 'jack',
			age: 21,
			language: ['java', 'js', 'css']
		}
		console.log(Object.keys(person));
		console.log(Object.values(person));
		console.log(Object.entries(person));

		let target = { name: 'zhangsan' };
		let source1 = { age: 24 };
		let source2 = { gender: '男' };
		Object.assign(target, source1, source2);
		console.log(target);
	</script>
</body>
</html>